<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>RP Flask REST API</title>
  <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
  <link rel="stylesheet" href="{{ url_for('static', filename='css/people.css') }}">
  <link rel="stylesheet" href="{{ url_for('static', filename='css/notes.css') }}">
</head>
<body>
  <h1>
    Hello, {{person.fname}} {{person.lname}}
  </h1>
  
  <div class="person-card" data-person-id="{{ person.id }}">
    {% include "_person_control.html" %}

    <ul class="note-list">
        <li class="note-create-card">
            {% include "_note_create_form.html" %}
        </li>
        {% for note in person.notes %}
            {% include "_note_content.html" %}
        {% endfor %}
    </ul>
</div>

</body>
</html>
